package com.jxc.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Inquiry entity. @author MyEclipse Persistence Tools
 */

public class Inquiry implements java.io.Serializable {

	// Fields

	private Integer id;
	private User user;
	private Staff staff;
	private Date inquirytime;
	private String remarks;
	private Date feedbacktime;
	private Double totalprice;
	private String state;
	private String sn;
	private Set orders = new HashSet(0);
	private Set inquirylists = new HashSet(0);
	private Set transports = new HashSet(0);

	// Constructors

	/** default constructor */
	public Inquiry() {
	}

	/** full constructor */
	public Inquiry(User user, Staff staff, Date inquirytime, String remarks,
			Date feedbacktime, Double totalprice, String state, String sn,
			Set orders, Set inquirylists, Set transports) {
		this.user = user;
		this.staff = staff;
		this.inquirytime = inquirytime;
		this.remarks = remarks;
		this.feedbacktime = feedbacktime;
		this.totalprice = totalprice;
		this.state = state;
		this.sn = sn;
		this.orders = orders;
		this.inquirylists = inquirylists;
		this.transports = transports;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public Date getInquirytime() {
		return this.inquirytime;
	}

	public void setInquirytime(Date inquirytime) {
		this.inquirytime = inquirytime;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Date getFeedbacktime() {
		return this.feedbacktime;
	}

	public void setFeedbacktime(Date feedbacktime) {
		this.feedbacktime = feedbacktime;
	}

	public Double getTotalprice() {
		return this.totalprice;
	}

	public void setTotalprice(Double totalprice) {
		this.totalprice = totalprice;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getSn() {
		return this.sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public Set getOrders() {
		return this.orders;
	}

	public void setOrders(Set orders) {
		this.orders = orders;
	}

	public Set getInquirylists() {
		return this.inquirylists;
	}

	public void setInquirylists(Set inquirylists) {
		this.inquirylists = inquirylists;
	}

	public Set getTransports() {
		return this.transports;
	}

	public void setTransports(Set transports) {
		this.transports = transports;
	}

}